.page-menu-manage {
  display: flex;
  flex-direction: column;
  height: 100%;

  main {
    flex: 1;
    display: flex;
    // height: 1%;
    border: 1px solid #e8e8e8;
    margin-bottom: 15px;

    .box-title {
      font-size: 15px;
      border-bottom: 1px solid #e8e8e8;
      padding: 10px;
      border-radius: var(--border-radius-sm);
      text-align: center;
      background: #f5f6fa;
    }
  }

  .app-box {
    width: 160px;
    overflow: auto;
    .app-item {
      display: flex;
      height: 34px;
      align-items: center;
      font-size: 14px;
      color: rgba(0, 0, 0, 0.65);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      padding-left: 8px;
      &:hover {
        border-bottom: 1px solid #e8e8e8;
      }
      &.active {
        color: var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
      }
      i {
        display: block;
        width: 20px;
        margin-right: 8px;
      }
    }
    .ant-spin {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
  }

  .menu-tree {
    width: 260px;
    // border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .ant-input-search {
      margin: 10px;
      width: auto;
    }
    .toolbar {
      padding: 6px 0 6px 12px;
      border-top: 1px solid #e8e8e8;
      border-bottom: 1px solid #e8e8e8;
      i {
        margin-right: 5px;
      }
    }
    .ant-tree {
      overflow: auto;
      flex: 1;
      .ant-tree-node-selected {
        .ant-tree-title {
          .links {
            opacity: 1;
            pointer-events: unset;
          }
        }
      }
      .ant-tree-title {
        &:hover {
          .links {
            opacity: 1;
            pointer-events: unset;
          }
        }
        .links {
          transition: all 0.3s;
          margin-left: 10px;
          opacity: 0;
          pointer-events: none;
          i {
            margin-left: 6px;
            transition: all 0.3s;
            cursor: pointer;
            &:hover {
              transform: scale(1.2);
            }
          }
        }
      }
    }
  }

  .menu-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }
  
  .system-switch-box {
    margin-bottom: 10px;
  }
  .ud-page-header-affix {
    margin-bottom: 0;
  }
  >.ant-spin-nested-loading {
    flex: 1;
    display: flex;
    flex-direction: column;
    >.ant-spin-container {
      display: flex;
    }
  }
}